#include <iostream>
#include <string>



using namespace std;



int main(int argc, char const *argv[])
{
    // 单一内存分配
    int * ptr_1 = new int(80);


    delete ptr_1;

    // 连续内存分配
    int * ptr_2 = new int[10];

    delete []ptr_2;



    return 0;
}


